﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace MethodWorx.CMS.Workflow.CreatePage
{
    [Serializable]
    public class CreatePageConfiguration : IWorkflowConfiguration
    {
        [Required]
        public string PageTemplate { get; set; }
        public bool UseAutoIncrementingName { get; set; }
        [Required]
        public string PageName { get; set; }
        public bool Publish { get; set; }

        public string GetDescriptionSummary()
        {
            return "Create Page: " + PageName;
        }
    }
}
